<include file="/public/header" />

<style>
    .layui-card-body {
        padding-left: 0;
    }

    .layui-form-item .layui-input-inline {
        width: 220px;
    }
</style>

<div class="layui-fluid layui-bg-white">
    <form class="layui-form layui-form-fixed">
        <gt name="id" value="0"><input type="text" name="id" value="{$id}" hidden=""></gt>
        <div class="layui-form-item">
            <label class="layui-form-label">{:__('产品')}</label>
            <div class="layui-input-block">
                <select name="goodsid">
                    <option value="0">{:__('选择产品')}</option>
                    <foreach $product as $v>
                        <option value="{$v.id}">{$v.title}</option>
                    </foreach>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{:__('产品数量')}</label>
            <div class="layui-input-block">
                <input name="number" value="" placeholder="{:__('请输入数量')}" type="text" class="layui-input"
                    lay-verify="required" />
            </div>
        </div>
        <div class="layui-footer layui-form-item layui-center ">
            <button class="layui-btn layui-btn-primary" type="button" sa-event="closeDialog">取消</button>
            <button class="layui-btn layui-btn-normal" lay-filter="submitIframe" type="button" lay-submit>提交</button>
        </div>
    </form>
</div>
<include file="/public/footer" />
<include file="/public/static" />